<template>
    <div class="title">
        <div class="keyword">{{item.title}}</div>
        <div @click="Jumpmore" class="more">更多></div>
    </div>
</template>

<script>
    export default {
        props:{
            item:{
                type:Object
            },
            keyword:{
                type:String
            }
        },
        methods: {
            Jumpmore(){
                console.log(this.keyword)
                var keyword = this.keyword;
                this.$router.push({name:'movieMore',params:{keyword:keyword}})
            }
        },
    }
</script>

<style scoped>
.title{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
</style>